package org.altervista.cp.microkernel.io;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface TemporaryFile {

	InputStream getInputStream() throws IOException;

	OutputStream getOutputStream() throws IOException;

	long length();

	void readFrom(InputStream is) throws IOException;

	void writeTo(OutputStream out) throws IOException;

	void close();

}
